<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<title>首页</title>
		<meta charset="utf-8" />
		<meta name="keywords" content="" />
	    <meta name="description" content="" />
		<link rel="stylesheet" href="CSS/style.css" />
		<script type="text/javascript" src="JS/jquery-1.7.2.min.js" ></script>
		<script type="text/javascript" src="JS/index.js" ></script>
	</head>
	<body>
	<!-- header -->
<header>
			<div class="headcon">
				<div class="logo"><a href=""><img src="IMG/logo.png" /></a></div>
				<div class="lang">
					<div class="ch">
						<a href=""><p><img src="IMG/CH.jpg"/></p>
						<p>中文版</p></a>
					</div>
					<div class="en">
						<a href=""><p><img src="IMG/EN.jpg"/></p>
						<p>ENGLISHI</p></a>
					</div>
				</div>
			</div>
			
		</header>
		

		<nav>
			<div class="navcon">
				<ul>
					<li><a href="<?php echo U('/'); ?>">首页</a></li>
					
					<!-- 循环nav -->

					 <?php foreach (term('1')['child']['nav'] as $key => $termVo) {?>
				 

				 <!-- 循环一级导航 -->
				<?php if($termVo['flag'] == 'job'): ?>
			    <li><a href="<?php echo term(13)['url']; ?>"><?php echo $termVo['name']; ?></a>
				<?php else: ?>
				<li><a href="<?php echo $termVo['url']; ?>"><?php echo $termVo['name']; ?></a>
				<?php endif; ?>
					
					
					<!-- 判断是否有子栏目 -->
				<?php if(!empty($termVo['child']['list'])){ ?>
						<div class="subnav">
							<div class="subleft">
								<ul>
								<!-- 循环二级导航 -->
								<?php foreach (term($termVo['id'])['child']['nav'] as $termVochild) {?>
								    
							
									
									<li><a href="<?php echo $termVochild['url']; ?>"><?php echo $termVochild['name']; ?></a></li>
									
									
									<?php  } ?>
                                <!-- 循环二级导航 -->
								</ul>
							</div>
							<div class="subright">
								<p class="im"><img src="IMG/about.jpg" /></p>
								<p><span style="color: #0064b2;">北京清源保生物科技有限公司</span>是由内蒙古科
发生态产业集团有限公司控股的股份制企业，2
001年通过北京市高新技术企业开发区认证，是
中关村高新技术企业。</p>
							</div>
						</div>
				<?php } ?> 	
					</li>
					 <!-- 循环一级导航 END-->
					 <?php  } ?>
					 
					 
					<!-- 循环nav END-->

				</ul>
			</div>
		</nav>
		
		
		<!-- 轮播图片 -->
		<div class="m_banner">
		     <?php foreach ($links['1'] as $key => $value) {?>
			<div class="banner b1" style=" background-image:url(UPLOADS/<?php echo $value['logo']; ?>);" id="banner1"></div>
			 <?php } ?>
			 
	        <!-- <div class="banner b2" style=" background-image:url(IMG/ban1.jpg);display:none;" id="banner2"></div> -->
	        
	        <div class="banner_ctrl"> <a href="#" class="prev" title=""></a> <a href="javascript:;" class="next" title=""></a> </div>
		</div>
		<!-- 轮播图片 END-->
		
	
	
		<div class="sycon">
		
		
 		<!-- 产品中心 -->
			<div class="procon">
				<div class="protit"><img src="IMG/protit.png" /></div>
				<div class="protrt">
					公司下设专责研发、生产、销售的四个机构，分别为：北京清源保无公害农药研究中心、内蒙古清源保生物科技有限公司(生产基地)、北京加工企业和北京清源保营销中心。自主专利产品“0.3%苦
参碱水剂” （专利号：ZL? 95 1 18353.2 国际专利主分类号：A01N 65/00）国内首家获得绿色食品中心AA级生产资料认证（LSSZ0199010501AA），生产企业——内蒙古清源保生物科技有限
公司，日前已通过OFDC的有机加工者认证：（P3103-915-177-2002）。
				</div>
			</div>
			<!-- 产品中心 END-->
			
			<div class="blk_jk"> 
				<a class="LeftBotton" onmousedown="SL_GoUp_1()" onmouseup="SL_StopUp_1()" onmouseout="SL_StopUp_1()" href="javascript:void(0);" target="_self">
				<img src="IMG/zleft.png"/>
				</a>
				  <div class="pcont" id="SISL_Cont_1">
				    <div class="ScrCont">
					
					
				      <div id="SList1_1">
				        <!-- piclist begin -->
						
						 <?php foreach (term(19)['content']['rec'] as $key => $value) {?>
				        <a class="pl" href="<?php echo $value['url']; ?>" >
				        <div class="jkbox">
				        <p class="im"><img src="UPLOADS/<?php echo $value['cover_img']; ?>" alt="" /></p>
				        <p class="plit"><span>
						<!-- name -->
						<?php echo $value['name']; ?>
						</span></p>
				        <p class="plit2"></p>
				        <p class="more">了解更多></p>
				        </div>
				        </a>
						 <?php } ?>
                       				

				        <!-- piclist end -->
				      </div>
					  
					  
					  
				      <div id="SList2_1"></div>
				    </div>
				  </div>
			  <a class="RightBotton" onmousedown="SL_GoDown_1()" onmouseup="SL_StopDown_1()" onmouseout="SL_StopDown_1()" href="javascript:void(0);" target="_self">
			  <img src="IMG/zright.png" />
			  </a> 
            </div>

			<div class="aboutcon">
			<!-- 公司新闻 -->
				<div class="gsnew">
					<div class="newbtit"><span class="gsxw">公司新闻</span>
					<a href="<?php echo term(24)['url']; ?>">
					<span class="xwmore">浏览更多新闻 > </span>
					</a>
					</div>
					<div class="newlist">
						<ul>
						  <!-- 新闻循环 -->
						   <?php foreach (term(24)['content']['limit_6']['rec'] as $key => $value) {?>
							<li><a href=""><?php echo msubstr($value['name'],0,12,'utf-8',true); ?>[16-03-10]</a></li>
							<?php } ?>
						    <!-- 新闻循环 -->
						</ul>
					</div>
				</div>
				<!-- 公司新闻 END -->
				
				<!-- 公司简介 -->
				 <?php foreach (term(8)['content'] as $key => $value) {?>
				<div class="gsjs">
					<div class="gsjstit"><?php echo term(8)['name']; ?></div>
					<p class="abimg"><a href=""><img src="UPLOADS/<?php echo $value['cover_img']; ?>" /></a></p>
					
					<p class="abspan">
                   <!-- 公司简介描述 -->
				   <span style="font-size: 16px;">
				  
				  <?php echo msubstr($value['description'],0,70,'utf-8',true); ?>... &nbsp; 
				   
				   </span>
				   
				<a href="<?php echo term(8)['url']; ?>">查看更多></a>
				</p>
					</div>
				<?php } ?>
				<!-- 公司简介END -->
				
				
				
			</div>
			
			
			
			<div class="zscon">
				<div class="zstit1"><img src="IMG/sytit.png" /></div>
				<div class="zstit2">清源正品，绿色健康</div>
				<div class="zslist">
					<ul>
						<li><img src="IMG/z1.jpg" /></li>
						<li><img src="IMG/z2.jpg" /></li>
						<li><img src="IMG/z3.jpg" /></li>
						<li><img src="IMG/z4.jpg" /></li>
						<li><img src="IMG/z5.jpg" /></li>
						<li><img src="IMG/z6.jpg" /></li>
					</ul>
				</div>
				<div class="zsmor"> <a href="">了解更多> </a></div>
			</div>
			
			
<script type="text/javascript">
        picrun_ini()
</script>
  	
			
		</div>
		
		
		
		
		<script type="text/javascript">

var Speed_1 = 30; //速度(毫秒)
var Space_1 = 20; //每次移动(px)
var PageWidth_1 = 305 * 4; //翻页宽度
var interval_1 = 6000; //翻页间隔时间
var fill_1 = 0; //整体移位
var MoveLock_1 = false;
var MoveTimeObj_1;
var MoveWay_1="right";
var Comp_1 = 0;
var AutoPlayObj_1=null;
function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}}
function AutoPlay_1(){clearInterval(AutoPlayObj_1);AutoPlayObj_1=setInterval('SL_GoDown_1();SL_StopDown_1();',interval_1)}
function SL_GoUp_1(){if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="left";MoveTimeObj_1=setInterval('ISL_ScrUp_1();',Speed_1);}
function SL_StopUp_1(){if(MoveWay_1 == "right"){return};clearInterval(MoveTimeObj_1);if((GetObj('SISL_Cont_1').scrollLeft-fill_1)%PageWidth_1!=0){Comp_1=fill_1-(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1);CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrUp_1(){if(GetObj('SISL_Cont_1').scrollLeft<=0){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft+GetObj('SList1_1').offsetWidth}
GetObj('SISL_Cont_1').scrollLeft-=Space_1}
function SL_GoDown_1(){clearInterval(MoveTimeObj_1);if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="right";ISL_ScrDown_1();MoveTimeObj_1=setInterval('ISL_ScrDown_1()',Speed_1)}
function SL_StopDown_1(){if(MoveWay_1 == "left"){return};clearInterval(MoveTimeObj_1);if(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){Comp_1=PageWidth_1-GetObj('SISL_Cont_1').scrollLeft%PageWidth_1+fill_1;CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrDown_1(){if(GetObj('SISL_Cont_1').scrollLeft>=GetObj('SList1_1').scrollWidth){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft-GetObj('SList1_1').scrollWidth}
GetObj('SISL_Cont_1').scrollLeft+=Space_1}
function CompScr_1(){if(Comp_1==0){MoveLock_1=false;return}
var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(Comp_1)<PageWidth_1/2){TempSpace=Math.round(Math.abs(Comp_1/Space_1));if(TempSpace<1){TempSpace=1}}
if(Comp_1<0){if(Comp_1<-TempSpace){Comp_1+=TempSpace;num=TempSpace}else{num=-Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft-=num;setTimeout('CompScr_1()',TempSpeed)}else{if(Comp_1>TempSpace){Comp_1-=TempSpace;num=TempSpace}else{num=Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft+=num;setTimeout('CompScr_1()',TempSpeed)}}
function picrun_ini(){
GetObj("SList2_1").innerHTML=GetObj("SList1_1").innerHTML;
GetObj('SISL_Cont_1').scrollLeft=fill_1>=0?fill_1:GetObj('SList1_1').scrollWidth-Math.abs(fill_1);
GetObj("SISL_Cont_1").onmouseover=function(){clearInterval(AutoPlayObj_1)}
GetObj("SISL_Cont_1").onmouseout=function(){AutoPlay_1()}
AutoPlay_1();
}
</script>
		
		
        <!-- footer -->
				<footer>
			<div class="foot1">
				<p>联系方式：010-65076059  联系地址：北京市朝阳区北苑路北卫家园硕泽大厦4层    4/F，</p>
				<p>Shuoze mansion，beiweijiayuan，Beiyuan Street, Chaoyang District, Beijing, China</p>
				<p>E-mail: kingbo@kingbo.com.cn</p>
			</div>
			<div class="foot2">
				<div class="foot2con">
					<div class="fba">ICP备案编号：京ICP备05056671</div>
					<div class="fbq">版权所有 北京清源保生物科技有限公司    技术支持：<a href="">万虎网络</a></div>
				</div>
			</div>
		</footer>
        <!-- footer end -->
		
		
		<div class="flot"><img src="IMG/ewm.png"></div>
		
		
	</body>
</html>

